package com.xiaoke.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginDto {
    @NotEmpty(message = "用户名不能为空")
    String userName;
    @NotEmpty(message = "密码不能为空")
    String password;
}
